import { all } from 'redux-saga/effects';

import appSaga from './app'
import authSaga from './auth'
import userSaga from './user'
import doctorSaga from './doctor'
import expertSaga from './expert'
import patientSaga from './patient'
import messageSaga from './message'
import chatSaga from './chat'
import searchSaga from './search'
import orderSaga from './order'
import commentSaga from './comment'
import profileSaga from './profile'
import myDoctorSaga from './myDoctor'
import decisionSaga from './decision'
import videoSaga from './video'
import consultationSaga from './consultation'
import servicePackSaga from './servicePack'
import couponSaga from './coupon'
import tagSaga from './tag'
import smartAssistantSaga from './smartAssistant'
import meditationSaga from './meditation'
import managementPlanSaga from './managementPlan'
import dataCenterSaga from './dataCenter'
import addressSaga from './address'
import medRecordSaga from './medRecord'

export default function* rootSaga() {
  yield all([
    appSaga(),
    authSaga(),
    userSaga(),
    doctorSaga(),
    expertSaga(),
    patientSaga(),
    messageSaga(),
    chatSaga(),
    searchSaga(),
    orderSaga(),
    commentSaga(),
    profileSaga(),
    myDoctorSaga(),
    decisionSaga(),
    videoSaga(),
    consultationSaga(),
    servicePackSaga(),
    couponSaga(),
    tagSaga(),
    smartAssistantSaga(),
    meditationSaga(),
    managementPlanSaga(),
    dataCenterSaga(),
    addressSaga(),
    medRecordSaga(),
  ])
}
